<?php
require_once($_CLASSPATH . '/UIController.interface.php');

class IndexUIController implements UIController {
	private $head;
	private $body;
	private $foot;
	
	function __construct() {
		$this->head = '';
		$this->body = '';
		$this->foot = '';

		$this->init();
	}
	
	function init() {
	}
	
	public function appendHead( $_msg ) {
		echo $_msg;
	}
	
	public function appendBody( $_msg ) {
		$this->body .= $_msg ;
	}
	
	public function appendFoot( $_msg ) {
		echo $_msg;
	}
	
	public function render( ) {
		return $this->head . $this->body . $this->foot;
	}
	
}
?>